<%@ taglib uri="jsp_layout.tld" prefix="layout"%>

<% //重定义父页面name=head的内容 %>
<layout:override name="head">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</layout:override>

<layout:override name="content">
	<div>
		<h2>Entry one</h2>
		<p>This is my first entry.</p>
	</div>
</layout:override>

<!-- extends from _layout.jsp -->
<%@ include file="_layout.jsp"%>